package com.example.malluser.api.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author yang
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDTO {
    /**
     * 主键
     */
    @ApiModelProperty( value = "主键")
    private Integer uid;
    /**
     * 用户名
     */
    @ApiModelProperty( value = "用户名")
    private String username;
    /**
     * 密码
     */
    @ApiModelProperty( value = "密码")
    private String password;
    /**
     * 角色
     */
    @ApiModelProperty( value = "角色")
    private List<String> role;
    /**
     * 手机号
     */
    @ApiModelProperty( value = "手机号")
    private String telephone;

}
